package com.ruoyi.patrol.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 长期排班定时任务对象 pt_line_task
 *
 * @author Du
 * @date 2023-11-28
 */
public class PtLineTask extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    private Long id;

    /**
     * 学校id
     */
    private Long schoolId;

    /**
     * 线路id
     */
    @Excel(name = "线路id")
    private Long lineId;

    /**
     * 线路名称
     */
    @Excel(name = "线路名称")
    private String lineName;

    /**
     * 分组id
     */
    @Excel(name = "分组id")
    private Long groupId;

    /**
     * 分组名称
     */
    @Excel(name = "分组名称")
    private String groupName;

    /**
     * 定时类型  0安保 1行政
     */
    @Excel(name = "定时类型  0安保 1行政")
    private String taskType;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    private String delFlag;

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
    }

    public Long getLineId() {
        return lineId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return "PtLineTask{" +
                "id=" + id +
                ", schoolId=" + schoolId +
                ", lineId=" + lineId +
                ", lineName='" + lineName + '\'' +
                ", groupId=" + groupId +
                ", groupName='" + groupName + '\'' +
                ", taskType='" + taskType + '\'' +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}